package net.seayan.designpattern4j.gate;

import java.io.File;

import net.seayan.designpattern4j.gate.impl.LogCount;

/**
 * 门面模式实现类
 * 将所需包装的方法封装成模板进行功能调用
 * @ClassName: GateHelper
 * @author: yanmeng
 * @date:2012-8-30 下午3:26:46
 */
public class GateHelper {
	ILogCount logService=new LogCount();
	
	public void logResult(String date,String filename,File mail){
		
		//统计日志结果
		logService.logTest(date);
		
		//生成excel表格
		logService.makeLogExcel(filename);
		
		//将统计结果发送邮件
		logService.sendMail(mail);
	}
}
